package cn.com.utt.common.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

public class OrderParameter {

	/*
	 * 排序的列名
	 */
	private String column;
	/*
	 * 排序方向
	 */
	@NotNull
	@Pattern(regexp = "(desc|asc)")
	private String dir;

	public String getColumn() {
		return column;
	}

	public void setColumn(String column) {
		this.column = column;
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}

}
